package com.game.entity.req;

import java.util.Map;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Getter;
import lombok.Setter;

/**
 * 接收body 对象基础父类
 * @author ZGame
 *
 *
 */
@Getter
@Setter
public abstract class BaseReq {

	@JsonProperty("UserId")
	private String userId;
	// 参数map
	@JsonProperty("ParamMap")
	private Map<String, String> paramMap;
	
	public String getParam(String key){
		return paramMap.get(key);
	}
}
